package com.mrd.gtimp.business.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

@Entity(name = "v_goods")
public class GoodsView implements Serializable {

	private static final long	serialVersionUID	= -3691033022355441481L;

	@Id
	@Column(name = "ID")
	private String				id;

	@Column(name = "NAME")
	private String				name;

	@Column(name = "CODE_T")
	private String				code_t;

	@Column(name = "CODE_S")
	private String				code_s;

	@Column(name = "GOODS_MODE")
	private String				goods_mode;

	// private String company_name;
	//
	// private String company_co;

	@Column(name = "CUSTOMER_COM_ID")
	private String				customer_com_id;

	@Column(name = "UNIT")
	private String				unit;
	@Transient
	private String				unitCode;

	@Column(name = "SECOND_UNIT")
	private String				second_unit;
	@Transient
	private String				secondUnitCode;

	@Column(name = "LEGAL_UNIT")
	private String				legal_unit;
	@Transient
	private String				legalUnitCode;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode_t() {
		return code_t;
	}

	public void setCode_t(String code_t) {
		this.code_t = code_t;
	}

	public String getCode_s() {
		return code_s;
	}

	public void setCode_s(String code_s) {
		this.code_s = code_s;
	}

	public String getGoods_mode() {
		return goods_mode;
	}

	public void setGoods_mode(String goods_mode) {
		this.goods_mode = goods_mode;
	}

	// public String getCompany_name() {
	// return company_name;
	// }
	//
	// public void setCompany_name(String company_name) {
	// this.company_name = company_name;
	// }

	// public String getCompany_co() {
	// return company_co;
	// }
	//
	// public void setCompany_co(String company_co) {
	// this.company_co = company_co;
	// }

	public String getCustomer_com_id() {
		return customer_com_id;
	}

	public void setCustomer_com_id(String customer_com_id) {
		this.customer_com_id = customer_com_id;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getSecond_unit() {
		return second_unit;
	}

	public void setSecond_unit(String second_unit) {
		this.second_unit = second_unit;
	}

	public String getLegal_unit() {
		return legal_unit;
	}

	public void setLegal_unit(String legal_unit) {
		this.legal_unit = legal_unit;
	}

	public String getUnitCode() {
		return unitCode;
	}

	public void setUnitCode(String unitCode) {
		this.unitCode = unitCode;
	}

	public String getSecondUnitCode() {
		return secondUnitCode;
	}

	public void setSecondUnitCode(String secondUnitCode) {
		this.secondUnitCode = secondUnitCode;
	}

	public String getLegalUnitCode() {
		return legalUnitCode;
	}

	public void setLegalUnitCode(String legalUnitCode) {
		this.legalUnitCode = legalUnitCode;
	}
}
